package com.sihan.framework.etm.entity.baseData;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.framework.mybatis.annotation.AutoGenerator;
import com.framework.mybatis.enums.IdType;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@Table(name = "jdx_etm_device_bind_record")
public class DeviceBindRecordModel implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4360438825653700945L;
	/**
	 * ID
	 */
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO)
	@AutoGenerator(idType = IdType.UUID32)
	private String id;
	
	private String deviceId;
	
	private Date bindTime;
	
	private Date unbindTime;
}
